import React, { Component } from 'react'
import { Swiper } from 'react-vant';
class Home extends Component {
    render() {
        return (
            <div>
                <Swiper className="my-swipe" autoplay={3000}>
                    <Swiper.Item>1</Swiper.Item>
                    <Swiper.Item>2</Swiper.Item>
                    <Swiper.Item>3</Swiper.Item>
                    <Swiper.Item>4</Swiper.Item>
                </Swiper>
            </div>
        )
    }
}

export default Home
